package com.ruoyi.sqlbuilder.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 数据库导出信息对象 sbr_exp_db_info
 *
 * @author yanzy
 * @date 2021-05-09
 */
public class SbrExpDbInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 数据库信息id
     */
    @Excel(name = "数据库信息id")
    private Long dbId;
    private String dbInfo;

    /**
     * 数据库类型
     */
    @Excel(name = "数据库类型")
    private String dbType;

    /**
     * 导出标识
     */
    @Excel(name = "导出标识")
    private Integer exportFlag;

    private String tableSchema;

    private String exportDataFlag;

    public String getTableSchema() {
        return tableSchema;
    }

    public void setTableSchema(String tableSchema) {
        this.tableSchema = tableSchema;
    }

    public String getExportDataFlag() {
        return exportDataFlag;
    }

    public void setExportDataFlag(String exportDataFlag) {
        this.exportDataFlag = exportDataFlag;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setDbId(Long dbId) {
        this.dbId = dbId;
    }

    public Long getDbId() {
        return dbId;
    }

    public String getDbInfo() {
        return dbInfo;
    }

    public void setDbInfo(String dbInfo) {
        this.dbInfo = dbInfo;
    }

    public void setDbType(String dbType) {
        this.dbType = dbType;
    }

    public String getDbType() {
        return dbType;
    }

    public void setExportFlag(Integer exportFlag) {
        this.exportFlag = exportFlag;
    }

    public Integer getExportFlag() {
        return exportFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("dbId", getDbId())
                .append("dbType", getDbType())
                .append("exportFlag", getExportFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
